package com.bjpowernode;

import com.bjpowernode.ba02.StudentMy02;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AppTestMy02 {
    @Test
    public void test01() {
        String xmlConfig = "/ba02/ApplicationContext.xml";
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(xmlConfig);
        StudentMy02 student = (StudentMy02) context.getBean("studentMy02");
        System.out.println("student = " + student);
    }
}
